package day2;

public class DoubleDemo {
    public static void main(String[] args) {
double a = 3.14;
float b = 3.14f;

double c = 6,d = 5.9;
System.out.println(c-d);
double q = 1.2,w = 1.1;
System.out.println(q-w);
double m = 5.2222222,n = 5.1111111;
System.out.println(m-n);

    }
}
